//
//  LH_member.h
//  Findhim
//
//  Created by 谢世忠 on 15/3/18.
//  Copyright (c) 2015年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DataObject.h"
//一个和数据库交互的单例

@interface User_member : DataObject

@property (nonatomic , assign)NSInteger uid;

@property (nonatomic , strong)NSString *passport;
@property (nonatomic , assign)NSInteger isold;
@property (nonatomic , strong)NSString *username;

@property (nonatomic ,assign)NSInteger phonenum;

@property (nonatomic , assign)NSInteger avatar;

@property (nonatomic , assign)NSInteger province;

@property (nonatomic , assign)NSInteger city;

@property (nonatomic , assign)NSInteger district;

@property (nonatomic , strong)NSString *provincename;

@property (nonatomic , strong)NSString *cityname;

@property (nonatomic , strong)NSString *districtname;
@property (nonatomic , assign)double longitude;
@property (nonatomic , assign)double latitude;
@property (nonatomic ,assign)NSInteger memberupdate;

//tqh add
@property (nonatomic ,assign)NSInteger isAgency;    //是否是商家代理
@property (nonatomic ,strong)NSString *balance;     //余额
@property (nonatomic ,strong)NSString *invitcode;   //邀请码
@property (nonatomic,strong)NSString  *pushkey;     //pushkey
@property (nonatomic,assign)NSInteger notify;       //通知数量
@property (nonatomic,strong)NSString *divide;       //分成动态更新

@property (nonatomic,assign)NSInteger integral;     //积分总分
@property (nonatomic,assign)NSInteger isnewofzero;  //0元商品购买判定
@property (nonatomic,strong)NSString *ordinaryinvitcode;
+ (User_member *)instance;
@end
